package com.arges.web.domain.bean;

import java.util.Date;

import com.arges.web.common.DateUtil;

/**
 * 随访记录
 * 
 * @author zxj
 * 
 */
@SuppressWarnings("serial")
public class PictureBean implements java.io.Serializable
{
	private Long id;

	// 病历号
	private String mrn;

	// 图片路径
	private String picture;

	// 描述
	private String memo;

	// 图像日期
	private Date date;

	// 接收ajax的日期String
	private String p_date_String;

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getMrn()
	{
		return mrn;
	}

	public void setMrn(String mrn)
	{
		this.mrn = mrn;
	}

	public String getPicture()
	{
		return picture;
	}

	public void setPicture(String picture)
	{
		this.picture = picture;
	}

	public String getMemo()
	{
		return memo;
	}

	public void setMemo(String memo)
	{
		this.memo = memo;
	}

	public Date getDate()
	{
		return date;
	}

	public void setDate(Date date)
	{
		this.date = date;
	}

	public String getP_dateString()
	{
		return DateUtil.convertDate2String(this.getDate(), DateUtil.DEFAULT_DATE_TIME);
	}

	public void setP_dateString(String createDateString)
	{
		setDate(DateUtil.convertString2Date(createDateString, DateUtil.DEFAULT_DATE_TIME));
	}

	public String getP_date_String()
	{
		return p_date_String;
	}

	public void setP_date_String(String t_date_String)
	{
		this.p_date_String = t_date_String;
	}

}
